import View from 'ol/View';
import { Person } from './Person';
console.log("typescript");

let view = new View({
    center: [0, 0],
    zoom: 0
});

let arr = [1, 2, 3, 4, 5];

let xhr = new XMLHttpRequest();
xhr.open("GET", "http://localhost/dg.gisservice/rest/services/app/dz/dzcategorystat/classification/ghtj_sp/ydmj/4");
xhr.onreadystatechange = (e) => {
    console.log(e);
    console.log(this);
};
xhr.send();

var ar = arr.filter(x => x > 3).map(x => x - 5);
console.log(ar);

let p = new Person("frog");

console.log(p.say("haha"));

console.log(view.getProjection());